package com.xyx.ssm.po;

public class Purchase {
	
	private int id;
	private String name;//采购名称
	private String endtime;//结束时间
	private String starttime;//开始时间
	private String detail;//描述
	private int state;//状态：1、正常 2、删除
	private Purchasesub purchasesub;
	private WineProduct wineProduct;
	private String proname;
	
	@Override
	public String toString() {
		return "Purchase [id=" + id + ", name=" + name + ", endtime=" + endtime
				+ ", starttime=" + starttime + ", detail=" + detail
				+ ", state=" + state + ", purchasesub=" + purchasesub
				+ ", wineProduct=" + wineProduct + ", proname=" + proname + "]";
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEndtime() {
		return endtime;
	}
	public void setEndtime(String endtime) {
		this.endtime = endtime;
	}
	public String getStarttime() {
		return starttime;
	}
	public void setStarttime(String starttime) {
		this.starttime = starttime;
	}
	public String getDetail() {
		return detail;
	}
	public void setDetail(String detail) {
		this.detail = detail;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public Purchasesub getPurchasesub() {
		return purchasesub;
	}
	public void setPurchasesub(Purchasesub purchasesub) {
		this.purchasesub = purchasesub;
	}
	public WineProduct getWineProduct() {
		return wineProduct;
	}
	public void setWineProduct(WineProduct wineProduct) {
		this.wineProduct = wineProduct;
	}
	
	public String getProname() {
		return proname;
	}
	public void setProname(String proname) {
		this.proname = proname;
	}

}
